<%@page pageEncoding="UTF-8"%>
<%@page trimDirectiveWhitespaces="true" %>
<%@taglib prefix="commonTag" 	tagdir="/WEB-INF/tags/common/html"%>
<%@taglib prefix="prototypeUI"	tagdir="/WEB-INF/tags/common/Prototype"%>
<%@taglib prefix="commonUI" 	tagdir="/WEB-INF/tags/common/UI"%>
<%
	// 设置模块名称
	request.setAttribute("moduleName", "公司基本信息"); 
	request.setAttribute("parentModuleName", "网站属性管理"); 
%>      
<!DOCTYPE html>
<html>
<commonTag:head lessFile="/admin/asset/less/main.less">
	<%@ include file="../public/head.jsp" %>
</commonTag:head>
    <body>
		<prototypeUI:nav />         
        <div class="widget-box">
                          <form class="ss">
<div action="userInfo/BaseInfoController/showPersonalBaseInfo.wl" class="form-horizontal">
    <div class="control-group">
        <table>
            <tr>
                <td>
                    <label class="control-label">公司名称:</label>
                    <div class="controls">
                        <input type="text" name="name" />        
                    </div>
                </td>
                <td>
                    <label class="control-label">法人/负责人：</label>
                    <div class="controls">
                        <input type="text" name="legalName"  />        
                    </div>
                </td>
            </tr>
        </table>
    </div>

    <div class="control-group">
        <table>
            <tr>
                <td>
                    <label class="control-label">营业执照号码:</label>
                    <div class="controls">
                        <input type="text" name="businessNo" />        
                    </div>
                </td>
                <td>
                    <label class="control-label">是否显示法人：</label>
                    <div class="controls">
                       <select style="width:100px;" name="loan">
                            <option value="null">请选择</option>
                            <option value="1">是</option>
                            <option value="0">否</option>
                        </select>    
                    </div>
                </td>
            </tr>
        </table>
    </div>

     <div class="control-group">
        <table>
            <tr>
                <td>
                    <label class="control-label">企业Logo：</label>
                    <div class="imgUpload controls" style="margin-right:0px;">
                         <!-- <input type="file" name="upload" style="width:215px;" class="fff" /> -->
                        <div class="perview" style="width:120px;height:120px;">
                            <img src="../asset/images/logoshuying2.gif" style="max-width:100%;" />
                        </div>
                        <input type="file" name="myfile" style="width:160px;" /><br />
                        <button class="uploadAction">上传</button>
                    </div>
                </td>
                <td valign="top">
                    <label class="control-label">成立时间：</label>
                    <div class="controls">
						<commonUI:calendar>
							<input placeholder="成立时间"  name="regTime" type="text" />
						</commonUI:calendar>
                    </div>
					<%--
					<label class="control-label">服务类型：</label>
					<input type="hidden" name="serviceType" />
					<div class="controls">
					    <label>
					        <input type="checkbox" class="服务类型" value="整车运输" /> 整车运输
					    </label>
					    <label>
					        <input type="checkbox" class="服务类型" value="零担运输" /> 零担运输
					    </label>
					</div>
					<label class="control-label">服务内容：</label>
					<input type="hidden" name="serviceContent" />
					<div class="controls">
					    <label>
					       <input type="checkbox" class="服务内容" value="特大货物运输" /> 特大货物运输
					    </label>
					    
					    <label>
					       <input  type="checkbox" class="服务内容" value="大件运输" /> 大件运输
					    </label>
					    <label>
					       <input type="checkbox" class="服务内容" value="集装箱运输" /> 集装箱运输
					    </label>
					    <br />
					    <label>
					      <input type="checkbox" class="服务内容" value="冷藏运输" />  冷藏运输
					    </label>
					    <label>
					       <input type="checkbox" class="服务内容" value="危险品运输" /> 危险品运输
					    </label>
					    <label>
					       <input type="checkbox" class="服务内容" value="专线运输" /> 专线运输
					    </label> <br />
					    <label>
					       <input type="checkbox" class="服务内容" value="仓储" /> 仓储
					    </label>    
					</div>
					 --%>
                </td>
            </tr>
        </table>
    </div>

    <div class="control-group">
        <label class="control-label">公司简介：</label>
        <div class="controls">
            <textarea name="about" style="width:300px;height:80px;" class="whenpresscheckCharLength" for="showRemainCharLength" charLimit="2000"></textarea><span class="showRemainCharLength_holder">最多 2000 个字符，剩余 <span class="showRemainCharLength"></span> 字符</span>
        </div>
    </div>

    <div class="control-group">
        <table>
            <tr>
                <td>
                    <label class="control-label">公司地址：</label>
                    <div class="controls">
                        <input type="text" name="address" />        
                    </div>
                </td>
                <td>
                    <label class="control-label">公司网址：</label>
                    <div class="controls">
                        <input type="text" name="website" />        
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <label class="control-label">公司电话：</label>
                    <div class="controls">
                        <input type="text" name="complaintPhone"  requiredField tipsMsg="请输入邮箱"  />        
                    </div>
                </td>
                <td>
                    <label class="control-label">公司传真：</label>
                    <div class="controls">
                        <input type="text" name="fax" />        
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="control-group">
        <table>
            <tr>
                <td>
                    <label class="control-label">企业QQ：</label>
                    <div class="controls">
                        <input type="text" name="qq" regexpcheck="^[\d.]+$" errMsg="亲，QQ号码必须为纯数字哦～" />        
                    </div>
                </td>
                <td> 
               <label class="control-label">企业邮箱：</label>
                    <div class="controls">
                        <input type="text" name="email" regexpcheck="^[\d.]+$" errMsg="亲，QQ号码必须为纯数字哦～" />        
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="form-actions">
        <button class="btn btn-success submitBtn">保存</button>
        <div id="status"></div>
    </div>
</div>
</form>
        </div>
		<script src="companyInfo.js"></script>
    </body>
</html>